package com.ddpt.platform.common.export.vo.merchant.member;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MemberTaskVo extends QueryDataVo {
    //会员id
    @Export(value = "会员id")
    private Long memberId;

    //任务id
    @Export(value = "任务id")
    private Long taskId;

    //任务链接
    @Export(value = "任务链接")
    private String taskUrl;

    //会员任务名称
    @Export(value = "会员任务名称")
    private String name;

    //会员任务描述
    @Export(value = "会员任务描述")
    private String description;

    /**
     * 任务类型
     * com.ddpt.platform.merchant.api.enums.TaskTypeEnum
     */
    @Export(value = "任务类型")
    private String taskType;

    //会员任务图片
    @Export(value = "会员任务图片")
    private String img;

    //会员任务状态：0-关闭，
    @Export(value = "会员任务状态", key = {"0", "1"}, val = {"关闭", "开启"})
    private Integer status;

    //限制条件      天：day    周：week   月：month   季度：quarter   总共：all
    @Export(value = "限制条件", key = {"day", "week", "month", "quarter", "all"}, val = {"天", "周", "月", "季度", "总共"})
    private String granularity;

    //限制条件value：可完成次数
    @Export(value = "限制条件value：可完成次数", isStr = true)
    private Integer count;

    //代币id
    @Export(value = "代币id", isStr = true)
    private Long payOfCurrencyId;

    //代币数量
    @Export(value = "代币数量", isStr = true)
    private Integer payOfCurrencyCount;

    //权益id
    @Export(value = "权益id", isStr = true)
    private Long goodsId;

    //权益规格id
    @Export(value = "权益规格id", isStr = true)
    private Long productId;

    //类型名
    @Export(value = "类型名")
    private String categoryName;
}
